package com.mauth.web.repository;

import com.mauth.common.entity.auth.AuthorizedCode;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface AuthCodeRepository extends JpaRepository<AuthorizedCode, Integer> {
    Optional<AuthorizedCode> findByCode(String code);
}
